package com.zhengxin.one.service;

import com.zhengxin.one.entity.BillAccumulation;
import com.zhengxin.one.entity.BillBase;
import com.zhengxin.one.entity.BillCommercial;
import com.zhengxin.one.entity.BillSociety;
import com.zhengxin.one.entity.excel.PersonExportExcel;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface BillService {
    //添加参保人基础信息
    int insertAll(BillBase bean);
    //检查参保人是否存在
    Boolean check(String id_card);
    Boolean checkA(String id_card);
    Boolean checkS(String id_card);
    Boolean checkC(String id_card);
    //饭后参保信息
    BillBase billinfo(String id_card);
    //添加参保人社保
    int insertAllSociety(BillSociety bean);
    //添加参保人公积金
    int insertAllAccumulation(BillAccumulation bean);
    //添加参保人商保
    int insertAllCommercia(BillCommercial bean);
    //社保申请失败
    List<Map> getSoFail(String company_id);
    //公积金申请失败
    List<Map> getAcFail(String company_id);
    //商保申请失败
    List<Map> getCoFail(String company_id);
    //参保人社保模糊查询
    List<BillBase> queryBsLists(String keyword, String company_id,int page,int size);
    //参保人社保模糊查询
    List<PersonExportExcel> queryexports(String keyword, String company_id,int page,int size);
    //各类bill查询
    Map billall(String id_card,int type);

    int handbases(String id_card,int type,int bill_id);
}
